<div id="editSub" class="layui-form-custom-panel" data-model="edit">
    <form class="layui-form layui-form-pane" action="" lay-filter="editSubForm">
        <input type="hidden" value="{{>id}}" name="id">
        <input type="hidden" value="{{>attributeCategoryId}}" name="attributeCategoryId">
        <input type="hidden" value="{{>sortOrder}}" name="sortOrder">
        <input type="hidden" value="{{>value}}" name="value">
        <div class="layui-form-item">
            <label class="layui-form-label">属性名称：</label>
            <div class="layui-input-inline">
                <input type="text" name="name" lay-verify="名称" value="{{>name}}" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否启用：</label>
            <div class="layui-input-block">
                <input type="checkbox" name="inputType" lay-skin="switch" lay-filter="switchTest" lay-text="开启|关闭"
                       {{if inputType}} checked="checked" {{/if}} >
            </div>
        </div>
    </form>
</div>